package com.example.jwt_moudle.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description 测试接口
 * @Author lihw
 * @Date 2023/12/28 11:21
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/pri/msg")
    public String loginPriMsg(){
        return "pri succ";
    }


    @GetMapping("/pub/msg")
    public String loginPubMsg(){
        return "pub succ";
    }
}
